package com.qcby.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.qcby.dao.CinemaMapper;
import com.qcby.model.Cinema;
import com.qcby.query.CinemaQuery;
import com.qcby.service.CinemaService;
@Service
public class CinemaServiceImpl extends BaseServiceImpl<CinemaQuery, Cinema> implements
      CinemaService {


   private CinemaMapper cinemaDao;

   @Autowired
   public void setBrandDao(CinemaMapper cinemaDao) {
      this.cinemaDao = cinemaDao;
      this.baseDao = cinemaDao;
   }

   @Override
   public Integer getCid(String cName) {
      return cinemaDao.getCid(cName);
   }
}
